/**
 * 主导航
 */
// ***************	网站上部/导航栏等公共部分 begin	***************	//
	// 第一部分 导航栏 政务公开/互动交流/业务工作/机关党建  ----------- end
	//各个选项名称对应的内容数量
	_EsdDynamicTransformationScript.num1 = $(".nav_box .w1262 li:eq(1) b:eq(0) a").length-1;
	_EsdDynamicTransformationScript.num2 = $(".nav_box .w1262 li:eq(2) b:eq(0) a").length-1;
	_EsdDynamicTransformationScript.num3 = $(".nav_box .w1262 li:eq(3) b:eq(0) a").length-1;
	_EsdDynamicTransformationScript.num4 = $(".nav_box .w1262 li:eq(4) b:eq(0) a").length-1;
	
	//各个选项名称
	_EsdDynamicTransformationScript.esd1TagNum1 = $(".nav_box .w1262 li:eq(1) span:eq(0) a:eq(1)");
	_EsdDynamicTransformationScript.esd1TagNum2 = $(".nav_box .w1262 li:eq(2) span:eq(0) a:eq(1)");
	_EsdDynamicTransformationScript.esd1TagNum3 = $(".nav_box .w1262 li:eq(3) span:eq(0) a:eq(1)");
	_EsdDynamicTransformationScript.esd1TagNum4 = $(".nav_box .w1262 li:eq(4) span:eq(0) a:eq(1)");
	
	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esd1TagNum1Content1 = $(".nav_box .w1262 li:eq(1) b:eq(0) a:eq(0)");
	_EsdDynamicTransformationScript.esd1TagNum2Content1 = $(".nav_box .w1262 li:eq(2) b:eq(0) a:eq(0)");
	_EsdDynamicTransformationScript.esd1TagNum3Content1 = $(".nav_box .w1262 li:eq(3) b:eq(0) a:eq(0)");
	_EsdDynamicTransformationScript.esd1TagNum4Content1 = $(".nav_box .w1262 li:eq(4) b:eq(0) a:eq(0)");
	
	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esd1TagNum1ContentN = $(".nav_box .w1262 li:eq(1) b:eq(0) a:eq("+_EsdDynamicTransformationScript.num1+")");
	_EsdDynamicTransformationScript.esd1TagNum2ContentN = $(".nav_box .w1262 li:eq(2) b:eq(0) a:eq("+_EsdDynamicTransformationScript.num2+")");
	_EsdDynamicTransformationScript.esd1TagNum3ContentN = $(".nav_box .w1262 li:eq(3) b:eq(0) a:eq("+_EsdDynamicTransformationScript.num3+")");
	_EsdDynamicTransformationScript.esd1TagNum4ContentN = $(".nav_box .w1262 li:eq(4) b:eq(0) a:eq("+_EsdDynamicTransformationScript.num4+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd1TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagNum1.mouseout();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum1Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd1TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				
				_EsdDynamicTransformationScript.esd1TagNum2.focus();
				_EsdDynamicTransformationScript.esd1TagNum1.mouseout();
				_EsdDynamicTransformationScript.esd1TagNum2.mouseover();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esd1TagNum2.focus(function (e) {
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagNum2.mouseout();
				_EsdDynamicTransformationScript.esd1TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum2Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});

	_EsdDynamicTransformationScript.esd1TagNum2Content1.focus(function () {
		$(this).bind("keydown.keydown_s2", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum2Content1.blur(function () {
		$(this).unbind("keydown.keydown_s2");
	});

	_EsdDynamicTransformationScript.esd1TagNum2ContentN.focus(function () {
		$(this).bind("keydown.keydown_e2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				
				_EsdDynamicTransformationScript.esd1TagNum3.focus();
				_EsdDynamicTransformationScript.esd1TagNum2.mouseout();
				_EsdDynamicTransformationScript.esd1TagNum3.mouseover();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum2ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e2");
	});
	
	//第三块
	_EsdDynamicTransformationScript.esd1TagNum3.focus(function (e) {
		$(this).bind("keydown.keydown_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagNum3.mouseout();
				_EsdDynamicTransformationScript.esd1TagNum2.mouseover();
				_EsdDynamicTransformationScript.esd1TagNum2ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum3Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum3.blur(function () {
		$(this).unbind("keydown.keydown_3");
	});

	_EsdDynamicTransformationScript.esd1TagNum3Content1.focus(function () {
		$(this).bind("keydown.keydown_s3", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum3Content1.blur(function () {
		$(this).unbind("keydown.keydown_s3");
	});

	_EsdDynamicTransformationScript.esd1TagNum3ContentN.focus(function () {
		$(this).bind("keydown.keydown_e3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				
				_EsdDynamicTransformationScript.esd1TagNum4.focus();
				_EsdDynamicTransformationScript.esd1TagNum3.mouseout();
				_EsdDynamicTransformationScript.esd1TagNum4.mouseover();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum3ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e3");
	});
	
	//第四块
	_EsdDynamicTransformationScript.esd1TagNum4.focus(function (e) {
		$(this).bind("keydown.keydown_4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagNum4.mouseout();
				_EsdDynamicTransformationScript.esd1TagNum3.mouseover();
				_EsdDynamicTransformationScript.esd1TagNum3ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum4Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum4.blur(function () {
		$(this).unbind("keydown.keydown_4");
	});
	
	_EsdDynamicTransformationScript.esd1TagNum4ContentN.focus(function () {
		$(this).bind("keydown.keydown_e4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum4.mouseout();
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum4ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e4");
	});
	
	// 第一部分 导航栏 政务公开/互动交流/业务工作/机关党建  ----------- end
	
// ***************	网站上部/导航栏等公共部分 end	***************	//